
<template>
  <div class="app-container admin-withdrow-container">
    <div class="back-content flex-between">
      <div class="back-main flex-normal">
        <span class="back-icon el-icon-back" @click="$router.go(-1)"></span>
        <span class="back-label">提现</span>
      </div>
    </div>
    <template v-if="['shop'].includes(VUE_APP_RULE)">
      <shop-withdrow />
    </template>
    <template v-if="['admin'].includes(VUE_APP_RULE)">
      <admin-withdrow />
    </template>
  </div>
</template>

<script>
export default {
  components: {
    "admin-withdrow": () => import("./withdrow/admin.vue"),
    "shop-withdrow": () => import("./withdrow/shop.vue"),
  },
  data() {
    return {
      VUE_APP_RULE: process.env['VUE_APP_RULE'],
    };
  },
  methods: {}
};
</script>
<style scoped lang="scss">
.back-content{
  padding: vh(25) vw(20) vh(25) 0;
  .back-icon{
    font-size: vh(36);
    cursor: pointer;
  }
  .back-label{
    margin-left: vw(20);
    font-size: vh(13);
    color: #3D3D3D;
  }
}
</style>